From db732e5a3d99f59620df5503510e61cb9db1fadc Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 17 Jun 1993 05:05:53 +0000 Subject: [PATCH] Don't let the 'B' interactive spec default to buffers viewed in any visible frame. * buffer.c (Fother_buffer): Pass Qt as the second argument to Fget_buffer_window. * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore non-visible frames. (Fget_buffer_window): Change doc string to mention that passing Qt for the FRAME argument returns windows on visible frames only. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index f2d6ca37e74..d1680961e3b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -585,7 +585,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned.") if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ') continue; if (NILP (visible_ok)) - tem = Fget_buffer_window (buf, Qvisible); + tem = Fget_buffer_window (buf, Qt); else tem = Qnil; if (NILP (tem)) -- 2.30.2